package com.itheima.dao;

import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import java.util.List;

import java.util.Map;

/**
 * 代码使我快乐 Administrator on 2019/12/1.
 */
public interface CheckGroupDao {

    public void add(CheckGroup checkGroup);

    public void setCheckgroupAndCheckitem(Map map);

    public List<CheckGroup> findPage(QueryPageBean queryPageBean);

    public void edit(CheckGroup checkGroup);

    public void deleteCheckItemIds(Integer id);

    public void deleteCheck(Integer id);

    public CheckGroup findById(Integer id);

    public List<Integer> findByCheckItemIdsAndByCheckGroupId(Integer id);

    public List<CheckGroup> findAll();
}
